export function readFile(file: File) {
    return new Promise(resolve =>{
        const reader = new FileReader();
        reader.readAsBinaryString(file);
        reader.onload = (ev) =>{
            resolve(ev.target.result);
        }
    })
}

export const character = {
    name:{
        text:"姓名",
        type:'string',

    },
    phone:{
        text:'手机号',
        type:'string',
    }
}

